import os

# 设置Tensorflow的运行日志等级为2--Warning
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf

if __name__ == '__main__':
    c = tf.constant([1, 2, 3])
    v1 = tf.Variable(c)
    print(v1)
